package com.xbongbong.paas.print.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.pro.template.pojo.dto.TemplateSortDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author: yingjf
 * @date: 2022/7/13 16:05
 * @description:
 */
@Setter
@Getter
@ToString
public class PaasPrintTemplateSortDTO extends BaseDTO {
    @NotNull(message = "请选择需要修改展示顺序的表单模板")
    @Size(min = 1, message = "更新的表单数量至少为1")
    private List<TemplateSortDTO> formList;
}
